Reversible Diode with Tunable Band Alignment for Photoelectricity-Induced Artificial Synapse.