A study of pyrotechnic reactions by temperature profile analysis and differential thermal analysis