Influence of nitrogen variation on the microstructrual, mechanical and tribological properties of CNx coatings deposited by dc unbalanced magnetron sputtering