Resting energy expenditure depends on energy intake during weight loss in people with obesity: a retrospective cohort study