Planning and Control of Skating Motions for Quadrupedal Robots