In Situ X-Ray Absorption Spectroscopy Studies of Metal Hydride Electrodes