Motor control of an insect leg during level and incline walking