Adaptation of locomotor control in able and impaired human walking