Haemodynamic optimization of cardiac resynchronization therapy