Synthesis and characterization of layered metal sulfates containing M(μ3-OH/F)2(M = Mg, Co) diamond chains.