Non-covalently bonded 2D–3D metal–organic frameworks from the reactions of Cd(II) and Zn(II) with 3,5-dimethylpyrazole and carboxylate ligands