Effect of pH and gel electrolyte on safe charge injection and electrode degradation of platinum electrodes