Magnetism in fcc rhodium and palladium