Improving Named Entity Recognition by External Context Retrieving and Cooperative Learning