A dynamic similarity subgrid model for chemical transformations in large-eddy simulation of the atmospheric boundary layer