Tens of millions of people are under heat alerts as forecasters warn of dangerous temperatures across western US