Low-frequency ac measurement of the Seebeck coefficient