Synthesis and characterization of donor–acceptor poly(3‐hexylthiophene) copolymers presenting 1,3,4‐oxadiazole units and their application to photovoltaic cells