Multi-Contact Inertial Estimation and Localization in Legged Robots