What is the R function to apply hierarchical clustering to a matrix of distance objects?