Thermal decomposition of metal N,N-dialkylcarbamates