Demographic transitions and childrens resources: Bonus or divergence?