There will be more deadly heat waves, particularly in "megacities," in the coming years, according to a new study.