Effective limb length and the scaling of locomotor cost in terrestrial animals