Modeling the Chemical Impact and the Optical Emissions Produced by Lightning‐Induced Electromagnetic Fields in the Upper Atmosphere: The case of Halos and Elves Triggered by Different Lightning Discharges