Validity of an inertial measurement unit for the assessment of range and quality of movement during head and thoracic spine movements.