New criteria for evaluation of electroretinogram in patients with retinitis pigmentosa