The European Union (EU) and Vietnam have reached an agreement on a free trade deal after two and a half years of talks.