EXAFS and XANES Structure determination of Mn2+ binding in ATP complexes