The Office for Budget Responsibility said the economy would shrink 2% if the UK leaves without a deal.