Interface-driven manipulation of the magnetic anisotropy of ultrathin Co films on Pt(111): Substrate deposition of hydrogen and model calculations