S&P raises Home Depot's credit rating