The relationship between cognitive decline and a genetic predictor of educational attainment