An Investigation of Tribological Properties of CN and TiCN Coatings