Photochemical stability of g-C3N4 in the gas phase