Integrating phylogenies into community ecology