Effects of walking endurance reduction on gait stability in patients with stroke