Ion-selective electrodes or membranes