Lanthanide-Based Upconverting Nanoparticles: Synthesis, Optics, and Application