A concise and diversity-oriented strategy for the synthesis of benzofurans and indoles via ugi and diels-alder reactions