Toward the use of wearable inertial sensors to train gait in subjects with movement disorders