A polymeric junction membrane for solid-state reference electrodes