Comparison of hierarchical cluster analysis techniques for automatic classification of chemical structures