Novel coordination polymers of Zn(II) and Cd(II) tuned by different aromatic polycarboxylates: synthesis, structures and photocatalytic properties