The impact of family structure during childhood on later-life attainment