Diffusion in the semi-solid region during dendritic growth