Effect of tribofilm formation on the tribological performance of hydrogenated carbon coatings