Synthesis of (E)-3-alkylidenepyrrolidines by nucleophilic ring closure of (E)-2-alkylidene-1,4-diol derivatives