Three-dimensional structure determination using multiple-scattering analysis of XAFS: applications to metalloproteins and coordination chemistry