Electronic structures and thermolyses of 2-tetrazenes