Millions of Americans under heat alerts as those along east coast brace for possible flash flooding