Comparison of the main parameters of the ion-photon emission of titanium atoms and singly charged ions