Hard transition metal nitride films deposited by triode ion plating