Robustness to inertial parameter errors for legged robots balancing on level ground