Magnetic and transport properties of Co‐Pt thin films