High-pressure and high-temperature x-ray diffraction cell for combined pressure, composition, and temperature measurements of hydrides.