Synthesis and cyclizations of 1-azapolyene derivatives