Joint angular impulse as a gait parameter