G20 agrees debt framework to help poor countries hit by COVID