Relative afferent pupillary defect in eyes with retinal detachment.