Photoelectrocatalysis and electrocatalysis on p-silicon