Solvent-Induced Luminescence Variation of Upconversion Nanoparticles.