Diffusion in thin bilayer films during rapid thermal annealing