Britain and France are to deepen their military ties in response to Donald Trump’s decision to distance the US from Europe.