Investigation of duty cycle effect on corrosion properties of electrodeposited calcium phosphate coatings.