Solution of the 3D density-driven groundwater flow problem with uncertain porosity and permeability