Effect of anesthesia type (local or general) on neurocognitive functions in carotid endarterectomy