cognitive function chemicals