Self-Assembling Electron-Transport Chains in Zeolites: Molecular Bilayer Rectifiers and Photodiodes