Two-photon excitation and photolysis by pulsed laser illumination modelled by spatially non-uniform reactions with simultaneous diffusion