"They are denied educational, vocational, and other programs to develop their minds and skills because access to those programs is typically restricted to prisoners who will someday be released, and for whom rehabilitation therefore remains a goal." . . . .