Synthesis of near-infrared-responsive hexagonal-phase upconversion nanoparticles with controllable shape and luminescence efficiency for theranostic applications