First-principles calculation of the thermoelectric power of disordered alloys