A consistent muscle activation strategy underlies crawling and swimming in Caenorhabditis elegans