Reliability and validity of the GymAware optical encoder to measure displacement data