Composition-driven control of charge dynamics in visible-light-responsive sheet-like photoelectrodes