Photoelectron-transfer catalysis: its connections with thermal and electrochemical analogs