The optical properties of copper and gold as a function of temperature