Formation features of composite coatings based on titanium nitride by method of vacuum-arc evaporation and magnetron sputtering