Resonance surface X-ray scattering technique to determine the structure of electrodeposited Pt ultrathin layers on Au(1 1 1) surface