Cobalt(II) and Nickel(II) Complexes of a PNN Type Ligand as Photoenhanced Electrocatalysts for the Hydrogen Evolution Reaction.