BaSi2 formation mechanism in thermally evaporated films and its application to reducing oxygen impurity concentration