Measurement of diffusion coefficients of francium and rubidium in yttrium based on laser spectroscopy