Use of a rastered microbeam to study lateral diffusion of interest to microelectronics