A duration analysis of sovereign debt