Structure and magnetic properties of exchange‐coupled Co–CoPt nanocomposite thin films