Cognitive performance of primary open-angle glaucoma and normal-tension glaucoma patients.