Influence of the rheological properties on the electrical impedance of hydrogels