Influence of ex-situ annealing on the properties of MgF2 thin films deposited by electron beam evaporation