An endogenous motor program for sand crab uropods