Functional modules of sigma factor regulons guarantee adaptability and evolvability