Characteristics and properties of Co–Cr alloy coatings prepared by electrodeposition