Comparative study of the electronic structure of conjugated polymers