Effective Hamiltonian for Stokes–anti-Stokes pair generation with pump and probe polarized modes