The importance of consecutive spells of poverty: a path-dependent index of longitudinal poverty