The Effects Of Strain And Vacancies On The Electric And Vibrational Properties Of Ferroelectric Batio3 From First-Principles