In situ study of ion-beam induced lattice damage in calcium fluoride crystals