Minimum energy trajectories of the swing ankle when stepping over obstacles of different heights