Enamides as nucleophilic reagents. Reactions with cyclic N-formylimmonium and acylium ions