A Transient Modeling of the Thermoelectric Generators for Application in Wireless Sensor Network Nodes