Associations with rhizosphere bacteria can confer an adaptive advantage to plants