Control of the hierarchical assembly of π-conjugated optoelectronic peptides by pH and flow.