Optimization of a thermoelectric heat pump through cascading