Government ministers from the Republic of Ireland have been discussing the impact of Brexit with their counterparts from Northern Ireland.