Poverty and unemployment: the cases of Italy and Spain