Optical properties of metals with inhomogeneously heated electrons