Use of devices with both cardiac resynchronization and cardioverter–defibrillator capabilities