Calibration of head mounted displays for vision research with virtual reality