Multidimensional approximate Riemann solvers for hyperbolic nonconservative systems. Applications to shallow water systems