Identifiability of nonparametric mixture models and Bayes optimal clustering (The Annals of statistics)