Surface Photovoltage studies of surface and defect states in semiconductors