Six million people in their early 40s will have to work a year longer, as a result of a change in the state pension age.