A Novel Characterization Method for Hard Coatings: Preliminary Results with TiN