Thermal degradation of poly‐N‐vinylcarbazole