The gap between support for Irish unity and Northern Ireland staying in the UK has narrowed in the past year.