S&P cuts Netherlands rating, lifts outlook for Spain