Model of gene expression regulation in bacteria via formation of RNA secondary structures