Muscle mechanics and hydrodynamics of jet propulsion swimming in marine invertebrates