Nanofabricated upconversion nanoparticles for photodynamic therapy