Relaxation and dynamics of the (111) surfaces of the fluorides CaF2 and SrF2