Mechanical properties and microstructure of TiC/amorphous hydrocarbon nanocomposite coatings