Inmates forced to lie in toilet water to stay cool, suit say