Vacancy-induced magnetism in BaTiO3(001) thin films based on density functional theory.