Study of the diffusion of Au and Ag in Be using ion beams