The Black Caps enforced the follow-on after Nathan Smith took six wickets in Ireland's first innings in Belfast.