Foreign Secretary Boris Johnson says the UK will continue to encourage President Trump to tackle climate change.