Dynamic and Modular Control of Microbial Chemical and Protein Production Using Optogenetics