Myopic shift of refractive error in retinitis pigmentosa