Rare-earth-activated fluoride and tellurite glasses: optical and spectroscopic properties