Controllable synthesis of lanthanide upconversion nanomaterials through impurity doping