After a bitter campaign, Britain prepares to head to the polls on Thursday to decide whether the country's future is to Remain or Leave the European Union.