Joint Probabilistic Curve Clustering and Alignment