The UK is expected to shrink until the end of 2023 in the longest downturn since the financial crisis.