Dual control cell reaction ensemble molecular dynamics: a method for simulations of reactions and adsorption in porous materials.