Prison riot in Brazil leaves dozens dead, authorities say