The UK faces a "catastrophe" of floods and heatwaves if world leaders fail to agree a climate deal, the prime minister warns.