Evaluation of the metabolic rate based on the recording of the heart rate