Performance Study of a Bi-Directional Thermodiode Designed for Energy-Efficient Buildings