Visual acuity and 10 degrees automated static perimetry in eyes with retinitis pigmentosa.