Introduction to thermoelectrics