The direction of intergenerational transfers and demographic transition: the Caldwell hypothesis reexamined