The diffusion of conserved and reactive scalars behind line sources in homogeneous turbulence