Lifestyle adaptations of Rhizobium from rhizosphere to symbiosis