The UK and Ghana will go further and faster to combat terrorism, organised migration crime, drug trafficking and other global threats following a summit in London.