The relationship between energy cost and the center of gravity trajectory during sit-to-stand motion