Metrological traceability of carbon dioxide measurements in atmosphere and seawater