Electrical characterization of solar cells by surface photovoltage