Ab initio Investigation of Potential‐Energy Surfaces Involved in the Photophysics of Benzene and Pyrazine.