Nitrogen chemical structure in DNA and related molecules by X-ray absorption spectroscopy.