Copper mediated cyclization of 1-substituted enamides, dienamides and trienamides: regiochemistry, indigoid formation and methyl migration-aromatization