Impedance spectroscopy of piezoelectric actuators