Analysis of plants, soils and waters for nitrate by using an ion-selective electrode