The genetic relationship between educational attainment and cognitive performance in major psychiatric disorders