Global debt hits $307 trillion in first half of 2023