A convenient one-pot synthesis of 4-methoxyalka-2,4-dienoates