Integrated Thermoelectric Generator and related Method of Fabrication