Photocatalytic and electrocatalytic hydrogen production using nickel complexes supported by hemilabile and non-innocent ligands.