Extreme heat in the US, Europe and China is slamming economies around the world—and making inflation worse