Similarity-based cluster analysis for the cell formation problem