Primary structure determinants of the pH- and temperature-dependent aggregation of thioredoxin