A former chief government scientist has described how Boris Johnson oversaw “severely damaging” cuts to Britain’s efforts to fight global warming and then urged him not to make his concerns public.