Effects of an ankle-foot orthosis on spatiotemporal parameters and energy cost of hemiparetic gait