Early-warning systems for heat waves, floods and other hazards can save lives and property across the planet