Evolutionary and ecological forces that shape the bacterial communities of the human gut