Stereocontrolled preparation of (Z)-1,4-but-2-endiol esters in phase-transfer conditions