Lanthanide-functionalized metal–organic frameworks as ratiometric luminescent sensors | Synapse