Phase-shaping strategies for coherent anti-Stokes Raman scattering