The photochemical formation of a titan haze analog. Structural analysis by x-ray photoelectron and infrared spectroscopy