On the Effects of the Thermal Treatment on the Structural, Mechanical and Tribological Properties of Amorphous Carbon-Nitrogen Films Deposited by Magnetron Sputtering