Poverty traps and intergenerational transfers