Balance maintenance of a humanoid robot using the hip-ankle strategy