Switching of directions of bioelectrocatalytic currents and photocurrents at electrode surfaces by using hydrophobic magnetic nanoparticles.