Text this: Design of an electrogoniometer based on accelerometers for the evaluation of sports gesture in weight lifting