Ferroelectricity induced by oxygen vacancies in relaxors with perovskite structure