Resonance Raman and preresonance Raman spectra of titanium tetraiodide