Polling stations across the United Kingdom will open on Thursday as nation prepares to usher in new prime minister.