Text this: Evolving neural controllers for terrestrial and extraterrestrial locomotion in an artificial quadruped