Modern magnetic resonance approaches for characterizing rare-earth containing glasses and glass ceramics