Anion Sensing Based on the Metal-Ligand Interaction