Effects of ligamentous injury on ankle and subtalar joints: a kinematic study