Text this: Surface reactions of vapor phase titanium atoms with halogen and nitrogen containing polymers studied using in situ X-ray photoelectron spectroscopy and atomic force microscopy