A Multiple-Label Guided Clustering Algorithm for Historical Document Dating and Localization