Recent advances in rare-earth-doped photonic glasses for near- and mid-infrared lasers