Reversible chemical tuning of charge carriers for enhanced photoelectrochemical conversion and probing of living cells.