Four inmates are dead and more than 30 others are injured after a riot at a prison in Ecuador.