Coulomb-blockade oscillations in the thermopower of a quantum dot