Mass action relations in vivo with application to the Lac operon