Catalytic synthesis of pyrazine, piperazine, and 1,4-diaza[2,2,2]-bicyclooctane