Online Friction Coefficient Identification for Legged Robots on Slippery Terrain Using Smoothed Contact Gradients