Quantitative magnetic resonance flow and diffusion imaging in porous media