Thermoelectric Energy Conversion: First-Principles Simulations, Energy Harvesting And Deep Cooling Systems