Nanoscratch and nanowear testing of TiN coatings on M42 steel