Contextual Phrase-based Model for Machine Translation