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