Hydrogen and carbon compounds in the upper stratosphere and lower mesosphere