Synthesis, structure and thermolysis of Ba(II)–M(II) (M = Co, Zn) bimetallic 3D-polymers as precursors of complex oxides