Nonlinear Control of Underactuated Mechanical Systems