An analysis of hemiparetic gait performed on treadmill versus overground