Eddy diffusion in the central region of turbulent flows in pipes and between parallel plates