Stabilization of biped walking robot using the energy shaping method