Cognitive effects of valproate