Canonical decompositions of 3–manifolds