Impurity diffusion and microstructure in diamonds deformed at high pressures and temperatures