In situ diffraction studies of electrode surface structure during gold electrodeposition