Electrochemical Impedance Analysis of Thermogalvanic Cells