Thermal decomposition of metal nitrates