Dark- and light-adapted visual evoked cortical potentials in retinitis pigmentosa