Semiconductors' Photoelectrochemistry: A Kinetic and Thermodynamic Analysis in the Light of Equilibrium and Nonequilibrium Models