Fluorescence of trivalent rare earth ions in crystals and the optical detection of their epr and endor spectra