Accurate gait analysis in post-stroke patients using a single inertial measurement unit