The Influence of Phylogenetic and Functional Similarity on Species Coexistence Through Space and Time