Spectroscopic analysis of the structure of amorphous nitrogenated carbon films after wear tests