Simulation of Impedance Spectroscopy in Electroceramics Using a Finite Element Method