Recent Advances in Rare-Earth-Doped Nanoparticles for NIR-II Imaging and Cancer Theranostics