The thermal decomposition of platinum(II) and (IV) complexes