General and regioselective synthesis of substituted pyrroles by metal-catalyzed or spontaneous cycloisomerization of (Z)-(2-en-4-ynyl)amines