Block copolymer-based solid electrolytes for dye photovoltaic cells, and cells thus obtained