Kinematics of the transition between walking and running when gradually changing speed