Unequal households, unequal schools, and the consequences for education outcomes