Development of a high temperature diamond anvil cell for x ray absorption experiments under extreme conditions