Spectroscopic determination of the structure of amorphous nitrogenated carbon films