Lanthanide-doped potassium yttrium fluoride nanoparticles : spectroscopy, thermometry and crystal field analyses.