Correlation of SD-OCT findings and visual function in patients with retinitis pigmentosa