Association between cognitive function and parameters of echocardiography and coronary artery angiography.