Mechanical properties of sputtered TiN coatings