Stability-charge and stability-structure relationships in the binding of dicarboxylic ligands by open-chain polyammonium cations