Multi-scale simulation and Bayesian inversion of advection-diffusion-reaction equation in porous media