Geometric Control and Learning for Dynamic Legged Robots