Foot angular kinematics measured with inertial measurement units: A reliable criterion for real-time gait event detection.