S&P affirms UK sovereign rating at AA with a stable outlook