Pensioner prisons could be introduced to cope with the ageing inmate population, the chief inspector of prisons has said.