G7 pledge cooperation on carbon leakage as EU border tariff looms