Waypoint-Based Imitation Learning for Robotic Manipulation