Lanthanide-doped upconversion nanoparticles