Synthesis of N,N-disubstituted (Z)-O-methylnicotinamide oximes