From 1D to 2D Cd(II) and Zn(II) Coordination Networks by Replacing Monocarboxylate with Dicarboxylates in Partnership with Azine Ligands: Synthesis, Crystal Structures, Inclusion, and Emission Properties