Solitary confinement inmate who died of dehydration spent his final days begging for water