Use of the x-ray emission spectroscopy method to study the character of the reaction of titanium disulfide with inserted amines