Modulation of H-NS transcriptional silencing by magnesium