UHV surface-analysis endstation with x-ray scattering and spectroscopic capabilities