Bayesian principal curve clustering by species-sampling mixture models