The effect of Cr underlayer thickness on magnetic and structural properties of CoPtCr thin films