Anion sensing by small molecules and molecular ensembles.