Autonomous Locomotion Trajectory Shaping and Nonlinear Control for Lower-Limb Exoskeletons