Design and fabrication of a flexible thermoelectric generator with out-of-plane thermoelement architecture | Synapse