The role of electrophysiology in the diagnosis and assessment of retinitis pigmentosa.