The effect of the conformation of flexible carboxylate ligands on the structures of metal–organic supramolecules