Effect of coherent to incoherent structural transition on magnetic anisotropy in Co/Pt multilayers