Optogenetic switch for controlling the central metabolic flux of Escherichia coli.