Biomechanical comparisons of fins and limbs to model the evolution of locomotion from water to land