A model for the regulation of bacterial extracellular enzyme and toxin biosynthesis