Benefits of Variable Stiffness in Legged Robot Locomotion