High-current-density electrodeposition using pulsed and constant currents to produce thick CoPt magnetic films on silicon substrates