Modeling and characterization of extensible wearable textile-based electrogoniometers