A multistage in-plane micro-thermoelectric cooler