Fretting wear of carbon-ion-implanted physical-vapour-deposited TiN coatings