Diffusion studies using ion beam analysis