On excitation and loss of an electron by incident ions in relativistic collisions with atoms