Correlation between Transient Pupillary Light Reflex and Retinal Function Impairment in Patients with Retinitis Pigmentosa