Paramagnetic centers and dipolar defects in CaF2:Gd3+ and CaF2:Gd3++Lu3+