Toward closed-loop process control of nanocomposites: online impedance monitoring and electric fie