The spectral dependence of the surface photovoltage in CdS