Spectra of Rare-Earth Ions in the Crystal Fields of Double Tungstates and Molybdates