Gravar-mail: Biomechanical analysis of gait adaptation in the nematode Caenorhabditis elegans