U.S. sues S&P over pre-crisis mortgage ratings