Gold(I)-catalyzed tandem transformation: a simple approach for the synthesis of pyrrolo/pyrido[2,1-a][1,3]benzoxazinones and pyrrolo/pyrido[2,1-a]quinazolinones.