On the theory of the surface photovoltage technique based on the flat quasi-Fermi level approximation