Focusing versus defocusing nonlinearities in self-trapping due to parametric frequency conversion