Coordination of lower limb segments during obstacle clearance in healthy adults and pathological populations