Inexpensive device for measurements with ion-selective and pH electrodes