Mathematical modelling of periodic breathing in chronic heart failure to design novel real-time dynamic therapy