Perpendicular magnetic anisotropy in Pd/Co and Pt/Co thin‐film layered structures