Nonlinearity management and diffraction management for the stabilization of two-dimensional spatial solitons