Evolution of the genetic network controlling sex determination in flies.