Cognitive profile of elders in an ophthalmic ambulatory setting