Educational attainment and psychiatric diagnoses: a national registry data and two-sample Mendelian randomization study