Synthesis and photovoltaic properties of polymer containing both electron-donor and –acceptor units