The thermal decomposition of alkaline earth formates