Optical and electrochemical effects of H2 and O2 bubbles at upward-facing Si photoelectrodes