Influence of dimensionality and charge on anion binding in amide-based macrocyclic receptors