The men's and women's 2027 Tour de France will begin in the United Kingdom, with Edinburgh to host the men's Grand Depart.