Generalized Dynamic Analytical Model of Piezoelectric Materials for Characterization Using Electrical Impedance Spectroscopy