Optical and EPR spectra of hydrogenated and deuterated crystals of calcium fluoride containing erbium