A versatile fabrication of upconversion nanophosphors with functional-surface tunable ligands