Atherosclerotic carotid stenosis and cognitive function