Theory of Raman scattering from charge-density-wave phonons