Decoding locomotion from population neural activity in moving C. elegans