Likely Brexit scenarios will result in a smaller economy than staying in the EU, government forecasts say.