Thermal vibrations and static displacements of atoms in nonstoichiometric titanium carbide