Tandem imination/annulation of gamma- and delta-ketoalkynes in the presence of ammonia/amines