A dynamical systems analysis of afferent control in a neuromechanical model of locomotion: I. Rhythm generation