Intergenerational Transmission of Social Inequality in Children's Cognitive Skills