Electrochemical and optical characterization of p- and n-doped poly[2-methoxy-5-(2-ethylhexyloxy)-1,4-phenylenevinylene].