Biomechanical determinants of transverse and rotary gallop in mammals