Determination of impurities in titanium carbide and titanium nitride by inductively coupled plasma atomic emission spectrometry