Kinematics and sensorimotor control of walking in fruit flies