Electrical and magnetic studies of Co-Pt alloys