Applications insight into the plasmochemical state and optical properties of amorphous CNx films deposited by gas injection magnetron sputtering method