Effect of inhomogeneous mixing on atmospheric photochemical reactions