Principles and mechanisms of automatic rotation during terminal extension in the human knee joint.