More than 50 inmates killed in riots sparked by rival gangs