Hydrogen-bond-directed supramolecular arrays in 4,4'-bipyridinium tetrachloroterephthalate dihydrate and bis(1,10-phenanthrolinium) tetrachloroterephthalate tetrachloroterephthalic acid trihydrate.