The effects of infant and child mortality on fertility in Latin America