The Office for Budget Responsibility said UK gross domestic product (GDP) is set to improve by 1.2% this year and slow in 2027.