Thermoelectric generator and temperature sensor based on polyamide doped n-type single-walled nanotubes toward self-powered wearable electronics