Bulk and surface oxygen vacancy formation and diffusion in single