Digital TDT sensor for coupled measurement of soil moisture and electrical conductivity