Applications of extended X-ray absorption fine-structure spectroscopy to studies of bimetallic nanoparticle catalysts.