2D carboxylate-bridged LnIII coordination polymers: displaying slow magnetic relaxation and luminescence properties in the detection of Fe3+, Cr2O72- and nitrobenzene.