Diffusion and activation of dopants in silicon and advanced silicon-based materials