Pore-scale study of dissolution-induced changes in permeability and porosity of porous media