Measuring gait kinematics in patients with severe hip osteoarthritis using wearable sensors.