Design of linear shaped thermoelectric generator and self-integration using shape memory alloy