Doping dependence of thermopower in cuprate superconductors