Relational clustering based on a dissimilarity relation extracted from data by a TS model