On the Relationship between Neural Machine Translation and Word Alignment