Palestinian prisoners released by Israel after three hostages left Hamas captivity in an exchange described conditions in prison as “very difficult” and “chaotic”.