Exact and approximate Riemann solvers for the artificial compressibility equations