Irrigation of grape and pomegranate by using soil sensors