Prime Minister Theresa May has won Parliament's approval to begin talks on a divorce deal for the UK leaving the EU.