Manipulator as a Tail: Promoting Dynamic Stability for Legged Locomotion