The Diameter of a tree is defined as the maximum length of a
shortest path. When taking branch lengths into account, this is equal to
twice the crown age.
When the tree is unrooted, we add 1 to the unweighted diameter, to reflect
traversing the (virtual) root.