Evaluation of dopant profiles and diffusion constants by means of electron energy loss spectroscopy