Molecular cathode and photocathode materials for hydrogen evolution in photoelectrochemical devices