Electrodeposition of platinum metals and alloys from chloride melts