Postsynthetic lanthanide functionalization of nanosized metal-organic frameworks for highly sensitive ratiometric luminescent thermometry.