Which in- and out-of-school factors explain variations in learning across different socio-economic groups? Findings from South Africa.