Comparative Study of AC Signal Analysis Methods for Impedance Spectroscopy Implementation in Embedded Systems