Millions of people have voted in a historic referendum on whether the UK should remain a member of the European Union or leave.

Ian Watson reports.