Capacitive moisture sensor