All prisoners shall be treated with humanity, and in a manner which promotes their reform. Juveniles shall be kept in quarters separate from adult criminals. The visits of parents and friends shall at all reasonable times be permitted.