Geometric Control of Mechanical Systems with Symmetries Based on Sliding Modes