Microfabrication of thermoelectric modules by patterned electrodeposition using a multi-channel glass template