The effect of oxygen vacancies on the electronic structures, magnetic properties and the stability of SrTiO 3 (001) surface