Optimization preparation of one-dimensional polypyrrole nanotubes for enhanced thermoelectric performance