In situ x-ray reflectivity and diffraction studies of the Au(001) reconstruction in an electrochemical cell.