The thermal degradation of branched polyethylenimine