Pt magnetization profile in a Pt/Co bilayer studied by resonant magnetic x-ray reflectometry