A model of the coronary epicardial tree and intramyocardial circulation in normal and ischemic hearts