Tensor network for the phi^4 path integral