Effect of nitrogen ion-implantation on the tribological properties and hardness of TiN films