Modulating the stereochemical outcome of the Ireland–Claisen reaction of (E)- and (Z)-allylic glycolates