Rhythm is a Dancer: Music-Driven Motion Synthesis with Global Structure