Optical properties of cation colloidal particles in CaF2 and SrF2