Document-Level Neural Machine Translation with Hierarchical Modeling of Global Context