Behavior of oxygen vacancies in BiFeO3/SrRuO3/SrTiO3(100) and DyScO3(100) heterostructures