Ionophore-based ion-selective potentiometric and optical sensors