X-ray free electron laser heating of water and gold at high static pressure