Body Segment Position Reconstruction and Posture Classification by Smart Textiles