Efficient upconversion emission and high-sensitivity thermometry of BaIn2O4:Yb3+/Tm3+/RE3+ (RE = Er3+, Ho3+) phosphor.