An in-field integrated capacitive sensor for rapid detection and quantification of soil moisture