Dark-adapted foveal thresholds and visual acuity in retinitis pigmentosa.