Electronic properties of clean (001) surfaces of Ir and Pt