Detailed characterization of TiC and TiN coatings prepared by the activated reactive evaporation process