Hydrogel electrolytes based on bio-derived polymers for solar cells