Ion-beam analysis of the structure and composition of nanocomposite nc-TiC/a-C:H coatings