[ENH] ward_tree: return distances

Modified `ward_tree` to return distances for both the structured and unstructured versions,
useful to have when plotting the dendrogram with scipy.
This is the equivalent of doing `np.argsort(np.max(children_unstructured, axis=1))` (I think) . It took me some time to read this (Especially since I haven't used lambda's much)