Spontaneous modulation of a dynamic balance between bacterial genomic stability and mutability: roles and molecular mechanisms of the genetic switch