An optimized Kalman filter for the estimate of trunk orientation from inertial sensors data during treadmill walking