Photoelectrochemical characterization of porous Si