Applying residence time distribution theory to coronary thermodilution curves.