Characterization of low-cost capacitive soil moisture sensors for IoT networks