Electrocardiographic diagnosis of atrial cardiomyopathy to predict atrial contractile dysfunction, thrombogenesis and adverse cardiovascular outcomes