Tailoring light emission properties and optoelectronic and optothermal responses from rare earth-doped bismuth oxide for multifunctional light shielding, temperature sensing, and photodetection