S&P, Nasdaq post record closes on dovish Fed taper-talk