Thermoelectric power of magnetic and nonmagnetic amorphous metals