Millions of Americans will wake up cranky because climate change made it too hot to sleep, new research has found.