A "no deal" outcome from the Brexit negotiations would lead to a £500 billion loss for the European Union, according to a new analysis.