Cognitive deficits after rupture and early repair of anterior communicating artery aneurysms