Chitosan with various degrees of carboxylation as hydrogel electrolyte for pseudo solid-state supercapacitors