Child mortality, fertility, and human capital accumulation