X-ray photoelectron spectroscopy of implanted rare gases in noble metals: Polarization and potential effects