MII–Malonate Complexes (M = Mg, Cu, Ni and Co) Characterized by Layered Structures: Experimental Observation, Hirshfeld Surface Analysis and Theoretical Study