The thermal decomposition of K2Pt(CN)4Br2 and K2Pt(CN)4