Diffusion and structure of metals