Influence of substrate roughness on the scratch adhesion of titanium nitride coatings