The thermal decomposition of polyurethanes and polyisocyanurates