Oxygen diffusion in oxide thin films grown on SrTiO3