Thermoelectric devices without a junction of dissimilar materials Thermomagnetic devices