Interfacing the Ab initio multiple spawning method with electronic structure methods in GAMESS: Photodecay of trans-azomethane.