Effects of environmental variations in Escherichia coli fermentations