Intergenerational Transfers and Demographic Transition