Changes in the optical absorption of CaF2, SrF2 and BaF2 induced by thermal annealing in different atmospheres