Correlation of crystallographic structure and magnetic properties of electrodeposited Co‐rich Co–Pt films