A green synthesis of quinoxalines and 2,3-dihydropyrazines