Thermal and photodecomposition studies with the exo- and endo-5-methoxy-2,3-diazabicyclo[2.2.1]hept-2-ene system