Britain could see temperatures up to 40C every few years by 2100 if carbon emissions stay very high.