The determination of carbon, nitrogen and oxygen in gases by neutron time-of-flight spectrometry