Validity of a low-cost friction encoder for measuring velocity, force and power in flywheel exercise devices