Electrochemically and Photochemically Induced Hydrogen Evolution Catalysis with Co-Tetraazamacrocycles Occur via Different Pathways.