G7 borrowing costs hit 2008 high as debt tops $365 trillion