G20 countries pledge to boost growth, dampen Brexit shock