Energy-efficient motion of a space manipulator