Synthesis of a series of novel imidazolium-containing ionic liquid copolymers for dye-sensitized solar cells