Diffusion near dislocations, dislocation arrays and tensile cracks