The role of structural inhomogeneities in the temperature behavior of the thermopower in metallized nanotubes with impurities