Learning locomotion reflexes: A self-supervised neural system for a mobile robot