A Review on Optical Applications, Prospects, and Challenges of Rare-Earth Oxides