Clinical applications of pattern electroretinography: Melanoma, retinal detachment and glaucoma