Optical and electronic properties of 3,4-dialkylthiophene-based p-/n-alternating copolymers