Support Surface Estimation for Legged Robots