Text this: Wearable low-cost inertial sensor-based electrogoniometer for measuring joint range of motion