Assessing shock efficacy as a function of arrhythmia complexity in a slab of the canine heart