The European Union and the United Kingdom have agreed on "landmark" deals on youth mobility and trade. Leaders on both sides praised the agreement as they seek to rebuild ties.