Weak ferromagnetism of Co(HCOO)2 · 2H2O and Co(HCOO)2 · 2(NH2)2CO