Experimental study of stark broadening of nitrogen ion lines in a theta pinch plasma