Accurate model selection while accommodating phylogenetic uncertainty in Bayesian phylogenetics