Switchable miniature electrode array for impedance analysis of liquids and cell cultures