Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance by investigating capacitance {for determining moisture content, e.g. humidity by using hygroscopic materials}