An acoustic method for soil moisture measurement