Optical constants of very thin Pt and Rh films determined from soft-X-ray reflectance and photoelectric yield measurements