Thermal irreversibility study on the electrocyclic reaction of diaryl maleic anhydrides by density functional calculations