The regulation of heme and chlorophyll synthesis in bacteria.