Zinc and cadmium flexible-arm ortho-dicarboxylate bis(pyridyl)piperazine coordination polymers with rare two- and three-dimensional topologies