Investigation of TiC-C coatings by X-ray photoelectron spectroscopy