Photochemical formation of organic compounds from mixtures of simple gases