Treatment of cadmium(II) and zinc(II) with N2-donor linkages in presence of β-diketone ligand; supported by structural, spectral, theoretical and docking studies