Conjugated polymers and oligomers as active material for electronic devices