The UK will commit in law to cut emissions by 78% by 2035 compared to 1990 levels, the government announced on Tuesday.