Prisoner survival inside and outside of the institution: implications for health-care planning