Surface photovoltage spectroscopy of quantum wells and superlattices