TSMC smashes forecasts with record profit, flags more US factories