Ab-Initio Fully Periodic Characterization of MOF-74-M (M = Mg, Mn, Ni, Zn): Structures and Enthalpies of Adsorption