Educational attainment and health