Comparison of retinal nerve fiber layer measured by time domain and spectral domain optical coherence tomography in optic neuritis