referral agreement template