Deriving tree diameter distributions using Bayesian model averaging