BET: Bayesian Ensemble Trees for Clustering and Prediction in Heterogeneous Data