The economic cost of a referendum. The case of Brexit