Mechanical interactions of the thigh and shank during simple leg swing tasks