Functional data analysis of sleeping energy expenditure.