Cyclization reactions of propargylic amides: mild access to N-heterocycles