Upscaling geochemical reaction rates using pore-scale network modeling