UK prime minister to propose a popular vote on whether to stay in the European Union