Muscle function across behaviors, habitats, and phylogeny