Chemistry of Pyrotechnics: Basic Principles and Theory