Synthesis of 1,3-dienes bearing both electron-donor and acceptor substituents