Optical pressure sensors for high-pressure–high-temperature studies in a diamond anvil cell