What component can transfer heat from cold to hot?
You are describing the "Thermoelectric Effect" popularly called the "Peltier Effect" and sometimes the "Seebeck effect".  You can buy small arrays of diodes made up into a "Peltier Element" for reasonable prices.