Micromachined ion-selective electrodes with polymer matrix membranes