Huge shake-up of the state pension system to impact millions over the next few years