2-D TM scattering by dielectric cylinders with weakly quadratic and cubic nonlinearities in the phase velocity