Phylogenetic perspectives on community ecology