Dealloying of CuxAu studied by hard X-ray photoelectron spectroscopy