The state pension will rise to £12,631 next year, pushing it above the frozen personal allowance threshold of £12,570 for the first time.