Efficient Parallel Algorithms for Hierarchical Clustering on Arrays with Reconfigurable Optical Buses