Spectroscopic studies of glasses based on rare-earth borates