Lanthanide materials as chemosensors