Optical properties of PtSi and Pt2Si