Surface effects on p-n junctions: Characteristics of surface space-charge regions under non-equilibrium conditions