Synthesis, structure and properties of Ni-alloyed TiCx-based thin films