Localized exciton-phonon complex as an intermediate state in light scattering