The correlation of scratch adhesion with composite hardness for TiN coatings