Teaching Humanoid Robots to Dance