Probing the Interior Crystal Quality in the Development of More Efficient and Smaller Upconversion Nanoparticles.