Exciton-phonon-driven charge density wave in TiSe2