Text this: Design and construction of a wearable wireless electrogoniometer for joint angle measurements in sports