Tensor categories of endomorphisms and inclusions of von Neumann algebras