The key kinematic determinants of undulatory underwater swimming at maximal velocity