Boris Johnson's team had a "cavalier attitude" to hosting a vital UN climate summit in the UK, taking the view "they could wing it with a few press releases and that would all be fine" rather than putting serious work into the talks, the sacked former minister originally in charge has said.