Construction of 3-allylidene-4-vinyltetrahydrofurans and 3-allylidene-4-vinylpyrrolidines via sequential domino allylation/olefination of C–C triple bonds