Ecuadorian authorities vow to regain control of prisons amid a wave of violence