Response of nanosized cobalt oxide electrodes as pH sensors