TALIF measurements of atomic nitrogen in the afterglow of a nanosecond capillary discharge