Yang-Mills Correlation Functions from Integrable Spin Chains