Thermal degradation of N‐substituted polycarbamates