NZ bowlers pull off 6-run win after Williamson ton