The role of motivation and physical activity in a weight loss program