Chemoselective synthesis of tetrasubstituted furans via intramolecular Wittig reactions: mechanism and theoretical analysis.