Trend extraction in functional data of amplitudes of R and T waves in exercise electrocardiogram