Supramolecular polymers self-assembled from trans-bis(pyridine) dichloropalladium(II) and platinum(II) complexes.