New portable instrument for long-term ambulatory monitoring of posture change using miniature electro-magnetic inclinometers