Lanthanide-Doped Nanoparticles with Upconversion and Downshifting Near-Infrared Luminescence for Bioimaging.