Plasmonic versus catalytic effect of gold nanoparticles on mesoporous TiO2 electrodes for water splitting