how rest helps with weight loss