Nitrogen isotope variation of tree rings as a potential indicator of environmental change