Quartz as a pressure sensor in the infrared