A wireless system for gait and posture analysis based on pressure insoles and Inertial Measurement Units