Distribution of methane and carbon monoxide between the atmosphere and natural waters