Optimization of cardiac resynchronization therapy after implantation