Phonon-Assisted Energy Migration between Rare-Earth Ions in Glasses