The UK pledged £662million to France to help end dangerous boat crossings across the English Channel.