Molecular recognition and sensing of dicarboxylates and dicarboxylic acids.