UHV processing of ferroelectric barium magnesium fluoride films and devices