Multivariate investigation on hydrogel electrolytes for hybrid solar cells