Basic Programs for the Phasing of Flexion and Extension Movements of the Limbs during Locomotion