Learning to exploit passive compliance for energy-efficient gait generation on a compliant humanoid