How do fireworks work? A pyrotechnics chemist explains the science behind the colors and sounds