On the electrodeposition of hard gold