Design, synthesis and photocytotoxicity of upconversion nanoparticles: Potential applications for near‐infrared photodynamic and photothermal therapy