Managing the performance of general practitioners and specialists referral networks: a system for evaluating the heart failure pathway