Northern Ireland Secretary James Brokenshire has urged caution after the exit poll showed the Tories falling short of an overall majority.