Refining national greenhouse gas inventories