Synthesis and characterization of a porous magnetic diamond framework, Co3(HCOO)6, and its N2 sorption characteristic.