Emergence of coherent long wavelength oscillations after a quench: application to QCD