On Computing the Diameter of (Weighted) Link Streams