Study of the Binding of Metal Ions to Nucleotides and Nucleic Acids by X-Ray Absorption Fine Structure Spectroscopy