Ecological and evolutionary mechanisms underlying patterns of phylosymbiosis in host-associated microbial communities