Coupling of Body Mechanics and Control for Robust and Efficient Quadrupedal Gait Generation