In Situ X-ray Absorption Spectroscopy Studies of Nanoscale Electrocatalysts