Electron-phonon coupling and the soft phonon mode in TiSe2.