The thermal decomposition of metal formates. II. Solid state thermal decomposition studies on magnesium formate dihydrate