Microwave synthesis and characterization of MOF-74 (M = Ni, Mg) for gas separation