Comparative study of the structure of a-CNx and a-CNx:H films using NEXAFS, XPS and FT-IR analysis