Preparation of 3-methoxy-2-benzenesulfonylpropenenitriles