The Evolutionary Dynamics Of Biochemical Networks In Fluctuating Environments