Thermoelectric figure-of-merit from Peltier cooling