X-ray photoelectron spectroscopy characterization of CNx thin films deposited by electron beam evaporation and nitrogen ion bombardment