Light-produced polymer electrolytes for light-conversion in dye-sensitized solar cells