Cation vacancies and electrical compensation in Sb-doped thin-film SnO2 and ZnO