A new method for the synthesis of pyrrolo[1,2-a]pyrazines and pyrrolo[1,2-a] quinoxalines