Localizing 2‐medians on probabilistic and deterministic tree networks